package com.shire.shire_interface.dao.marketing;

import com.shire.shire_interface.model.marketing.WxGroupKeyword;
import com.shire.shire_interface.model.marketing.WxGroupKeywordExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxGroupKeywordDao {
    long countByExample(WxGroupKeywordExample example);

    int deleteByExample(WxGroupKeywordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxGroupKeyword record);

    int insertSelective(WxGroupKeyword record);

    List<WxGroupKeyword> selectByExampleWithBLOBs(WxGroupKeywordExample example);

    List<WxGroupKeyword> selectByExample(WxGroupKeywordExample example);

    WxGroupKeyword selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxGroupKeyword record, @Param("example") WxGroupKeywordExample example);

    int updateByExampleWithBLOBs(@Param("record") WxGroupKeyword record, @Param("example") WxGroupKeywordExample example);

    int updateByExample(@Param("record") WxGroupKeyword record, @Param("example") WxGroupKeywordExample example);

    int updateByPrimaryKeySelective(WxGroupKeyword record);

    int updateByPrimaryKeyWithBLOBs(WxGroupKeyword record);

    int updateByPrimaryKey(WxGroupKeyword record);
}